import * as tslib_1 from "tslib";
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgValidateForm } from '@farris/devkit';
var DetailFormComponentViewmodelForm = /** @class */ (function (_super) {
    tslib_1.__extends(DetailFormComponentViewmodelForm, _super);
    function DetailFormComponentViewmodelForm() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgFormControl({
            id: 'jsfsbh_7d105f52_el68',
            name: "{{jsfsbh_7d105f52_el68}}",
            binding: 'jsfsbh',
            updateOn: 'blur',
            defaultI18nValue: '结算方式编号',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], DetailFormComponentViewmodelForm.prototype, "jsfsbh", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'jsfsmc_5510dff8_w3vt',
            name: "{{jsfsmc_5510dff8_w3vt}}",
            binding: 'jsfsmc',
            updateOn: 'blur',
            defaultI18nValue: '结算方式名称',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'matches',
                    constraints: [''],
                }
            ]
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], DetailFormComponentViewmodelForm.prototype, "jsfsmc", void 0);
    tslib_1.__decorate([
        NgFormControl({
            id: 'jsfsbz_ef02f387_ju2o',
            name: "{{jsfsbz_ef02f387_ju2o}}",
            binding: 'jsfsbz',
            updateOn: 'blur',
            defaultI18nValue: '结算方式备注',
        }),
        tslib_1.__metadata("design:type", FormControl)
    ], DetailFormComponentViewmodelForm.prototype, "jsfsbz", void 0);
    DetailFormComponentViewmodelForm = tslib_1.__decorate([
        Injectable(),
        NgValidateForm({
            formGroupName: '财务结算信息',
            enableValidate: true
        }),
        Injectable()
    ], DetailFormComponentViewmodelForm);
    return DetailFormComponentViewmodelForm;
}(Form));
export { DetailFormComponentViewmodelForm };
